CS 320-- Summer 2019: Quiz One Study Guide and Practice Problems

General Comments

Practice Problems

Here are practice problems on various topics we have covered; these are a work in prgress and NOT comprehensive, and I did not repeat exactly the same kind of examples I showed in lecture. Having a set of practice problems here does not mean that that topic is more important for the exam than a topic for which there are no practice problems (hopefully in time I will cover all topics equally). They are completely optional, and feel free to skip if they seem too easy, or raise for discussion on Piazza if they are hard.

Click on the links below to access the practice problems:

1. BareBones Haskell: Constructing Data, Defining Functions, Rewriting to Calculate Result Values

2A. BareBones Haskell: Types and type checking.

2B. BareBones Haskell: Polymorphic Types and Type Checking.

3. Understanding let expressions and lambda expressions: scope of local variables in Python and Java;. (This is important for general understanding, but there will be no problems in the exam about Java or Python.)